package com.dfba.Homework5;

public class SportStudent extends Student implements Sport {
    public SportStudent(String name, int age) {
        super(name, age);
    }

    @Override
    public void playBasketball() {
        System.out.println("年龄为"+super.getAge()+"岁"+super.getName()+"的同学在打篮球");

    }
}
